package cn.virens.common.boot.dubbo.consumer.converter;

import org.dromara.hutool.core.convert.ConvertUtil;
import org.springframework.core.convert.converter.Converter;

public class LongConverter implements Converter<String, Long> {

    @Override
    public Long convert(String source) {
        return ConvertUtil.toLong(source, null);
    }
}
